package com.njtoyo.taxi.admin.mapper.secondary.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.secondary.entity.SystemSensitiveOperation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njtoyo.taxi.admin.rest.presenter.platfrom.sensitive.SensitiveOperationPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.platform.sensitive.SensitiveOperationWrapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-10-22
 */
@Repository
@DS(Const.SECONDARY_DS)
public interface SystemSensitiveOperationMapper extends BaseMapper<SystemSensitiveOperation> {
    Page<SensitiveOperationPresenter> sensitiveOperationList(SensitiveOperationWrapper wrapper);

    Integer selectOperationName(String  operationName);

}
